﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpensePrint.aspx.cs" Inherits="Customer_Profile.eCard.CardAccount.ExpensePrint" %>

<%@ Register src="../../mainTop.ascx" tagname="mainTop" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>调账交易-打印</title>
    <link href="/css/style.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <uc1:mainTop ID="mainTop1" runat="server" />      
        <table border="1" width="100%">      
            <tr>
                <td align="center">
                    <font color="Black" size="16"> 消费交易明细</font>
                </td>
            </tr>      
            <tr> 
                <td valign="top">
                    <!--客户信息-->
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td bgcolor="#1765a7"><img src="/images/spacer.gif" width="1" height="3"></td>
						</tr>
						<tr>
							<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="12" class="bglist1"><img src="/images/arw_blu_rgt.gif" width="4" height="7"></td>
										<td class="bglist1">用户信息</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td><img src="/images/spacer.gif" width="1" height="1"></td>
						</tr>
					</table>                   
                    <asp:Repeater ID="rptCparty" runat="server">
                        <HeaderTemplate>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        </HeaderTemplate>
                        <ItemTemplate>
                        <tr>
							<td class="bglist-3"  width="8%">客户姓名：</td>
							<td class="bglist-4"  width="17%">
								<%#Eval("cparty_name")%>                        
							</td>
							<td class="bglist-3"  width="8%">证件类型：</td>
							<td class="bglist-4" width="17%">
								<%#Eval("id_type")%>
							</td>
                            <td class="bglist-3"  width="8%">证件号码：</td>
							<td class="bglist-4"  width="17%">
								<%#Eval("id_no")%>
							</td>
							<td class="bglist-3"  width="8%">性别：</td>
							<td class="bglist-4" width="17%">
								<%#Eval("sex")%>
							</td>
						</tr>
                        <tr>
							<td class="bglist-3">生日：</td>
							<td class="bglist-4">
                               <%#Eval("birthday")%>
							</td>
							<td class="bglist-3">联系方式：</td>
							<td class="bglist-4">
								<%#Eval("phone")%> &nbsp; <%#Eval("email")%>
							</td>
                            <td class="bglist-3">邮编：</td>
							<td class="bglist-4">
                                <%#Eval("zipcode")%>
							</td>
							<td class="bglist-3">家庭住址：</td>
							<td class="bglist-4">
								<%#Eval("address")%>
							</td>
						</tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>        
                        </FooterTemplate>
                    </asp:Repeater>   
                    <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				        <tr>
					        <td><img height="5" src="../images/spacer.gif" width="1"></td>
				        </tr>
			        </table>    
                    <!--交易信息-->
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td bgcolor="#1765a7"><img src="/images/spacer.gif" width="1" height="3"></td>
						</tr>
						<tr>
							<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="12" class="bglist1"><img src="/images/arw_blu_rgt.gif" width="4" height="7"></td>
										<td class="bglist1">交易信息</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td><img src="/images/spacer.gif" width="1" height="1"></td>
						</tr>
					</table>
                    <asp:Repeater ID="rptDeals" runat="server">
                        <HeaderTemplate>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        </HeaderTemplate>
                        <ItemTemplate>
                        <tr>
							<td class="bglist-3"  width="8%">产品编码：</td>
							<td class="bglist-4"  width="17%">
								<%#Eval("procduct_name")%>
							</td>
							<td class="bglist-3"  width="8%">到期操作：</td>
							<td class="bglist-4"  width="17%">
								<%#Eval("due_prodName")%>
							</td>
                            <td class="bglist-3"  width="8%">到期操作说明：</td>
							<td class="bglist-4"  width="17%">
								<%#Eval("due_prodremark")%>
							</td>
							<td class="bglist-3"  width="8%">卡号：</td>
							<td class="bglist-4" width="17%">
								<%#Eval("card_no")%>
							</td>
						</tr>
                        <tr>
							<td class="bglist-3" >购买金额：</td>
							<td class="bglist-4" >
								<%#Eval("initial_amount")%>                        
							</td>
							<td class="bglist-3" >应收金额：</td>
							<td class="bglist-4">
								<%#Eval("should_amount")%>
							</td>
                            <td class="bglist-3" >标准折扣：</td>
							<td class="bglist-4" >
								<%#Eval("stand_discount")%>
							</td>
							<td class="bglist-3" >实际折扣：</td>
							<td class="bglist-4">
								<%#Eval("real_discount")%>
							</td>
						</tr>
                        <tr>
							<td class="bglist-3" >起息日：</td>
							<td class="bglist-4" >
								<%#Eval("value_date")%>                        
							</td>
							<td class="bglist-3" >到期日：</td>
							<td class="bglist-4">
								<%#Eval("due_date")%>
							</td>
                            <td class="bglist-3" >到期金额：</td>
							<td class="bglist-4" >
								<font color="red"><%#Eval("due_amount")%></font>
							</td>
							<td class="bglist-3" >折扣差价：</td>
							<td class="bglist-4">
								<%#Eval("amount_spread")%>
							</td>
						</tr>                       
                        <tr>
							<td class="bglist-3" >销售员：</td>
							<td class="bglist-4" >
								<%#Eval("dealer")%>
							</td>
							<td class="bglist-3" >是否代理销售：</td>
							<td class="bglist-4">
								<%#Eval("if_agentsale")%>
							</td>
                            <td class="bglist-3" >代理名称：</td>
							<td class="bglist-4" >
								<%#Eval("sale_agent_name")%>
							</td>
							<td class="bglist-3" >是否特殊购买：</td>
							<td class="bglist-4">
								<%#Eval("if_isEspecial")%>
							</td>
						</tr>
                        <tr>
							<td class="bglist-3" >特殊购买说明：</td>
							<td class="bglist-4" >
								<%#Eval("especial_remark")%>
							</td>
							<td class="bglist-3" >是否是展期：</td>
							<td class="bglist-4">
                            <font color="red"><%#Eval("if_isExtension")%></font>
							</td>
                            <td class="bglist-3">展期编号：</td>
							<td class="bglist-4">
                                <a href='/eCard/Match/ExtendOriginalDeal.aspx?extend_id=<%#Eval("extend_id")%>' target="_blank"><%#Eval("extend_id")%></a>
							</td>
                            <td class="bglist-3" >销售地区：</td>
							<td class="bglist-4">
								<%#Eval("entity")%>
							</td>							
						</tr>
                        <tr>
                            <td class="bglist-3" >备注：</td>
							<td class="bglist-4" colspan="7">
								<%#Eval("remark")%>
							</td>
                        </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                    <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				        <tr>
					        <td><img height="5" src="../images/spacer.gif" width="1"></td>
				        </tr>
			        </table>                      
                    <!--消费信息-->
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td bgcolor="#1765a7"><img src="/images/spacer.gif" width="1" height="3"></td>
						</tr>
						<tr>
							<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="12" class="bglist1"><img src="/images/arw_blu_rgt.gif" width="4" height="7"></td>
										<td class="bglist1">调账信息</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td><img src="/images/spacer.gif" width="1" height="1"></td>
						</tr>
					</table>
                    <asp:Repeater ID="rptExpenseDeals" runat="server">
                        <HeaderTemplate>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        </HeaderTemplate>
                        <ItemTemplate>
                        <tr>
							<td class="bglist-3"  width="8%">调账编码：</td>
							<td class="bglist-4"  width="17%">
								<%#Eval("expense_no")%>                        
							</td>
							<td class="bglist-3"  width="8%">结算状态：</td>
							<td class="bglist-4"  width="17%">
								<%#Eval("expense_status_name")%>
							</td>
                            <td class="bglist-3"  width="8%">调整金额：</td>
							<td class="bglist-4"  width="17%">
								<font color="red"><%#Eval("amount")%></font>
							</td>
							<td class="bglist-3"  width="8%">调整类型：</td>
							<td class="bglist-4" width="17%">								
                                <%#Eval("cflow_type_name")%>
							</td>
						</tr>
                        <tr>
							<td class="bglist-3" >录入日期：</td>
							<td class="bglist-4" >
								<%#Eval("input_date")%>
							</td>
							<td class="bglist-3" >录入人：</td>
							<td class="bglist-4">
								<%#Eval("input_user")%>
							</td>
                            <td class="bglist-3" >录入人姓名：</td>
							<td class="bglist-4">
								<%#Eval("input_username")%>
							</td>                           
                            <td class="bglist-3" >提交日期：</td>
							<td class="bglist-4" >
								<%#Eval("submit_date")%>
							</td>							
						</tr>
                        <tr>
							<td class="bglist-3" >审核日期：</td>
							<td class="bglist-4" >
								<%#Eval("review_date")%>                        
							</td>
							<td class="bglist-3" >审核人：</td>
							<td class="bglist-4">
								<%#Eval("review_user")%>
							</td>
                            <td class="bglist-3" >审核人姓名：</td>
							<td class="bglist-4" >
								<%#Eval("review_username")%>
							</td>
							<td class="bglist-3" >备注：</td>
							<td class="bglist-4">
								<%#Eval("remark")%>
							</td>
						</tr>                        
                        <tr>					
							<td class="bglist-3" >通过备注：</td>
							<td class="bglist-4" colspan="3">
								<%#Eval("pass_remark")%>
							</td>
							<td class="bglist-3" >拒绝原因：</td>
							<td class="bglist-4"  colspan="3">
								<%#Eval("reject_remark")%>
							</td>                            
						</tr>                       
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>                     
                    <!--消费附件列表-->                 
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td class="bglist-3"  width="8%">附件列表：</td>
                            <td>
                                <asp:Repeater ID="rptAttach" runat="server">
                                    <ItemTemplate>
                                       <a href='<%#Eval("attach_url")%>' target="_blank"><%#Eval("view_name")%></a> &nbsp;
                                    </ItemTemplate>                            
                                </asp:Repeater>
                            </td>
						</tr>						
					</table>    
                    <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
				        <tr>
					        <td><img height="5" src="../images/spacer.gif" width="1"></td>
				        </tr>
			        </table>                     
                </td>
            </tr>                   
        </table>
        </div>
    </form>
</body>
</html>
